|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISessionContext
A service available to all services at any scope except the process scope.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARN |
| Method Summary | |
|---|---|
void |
clearAttribute(java.lang.String attributeName)
Clears the value of a session-level attribute. |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Returns the value of a session-level attribute with the specified name or null if no such attribute exists. |
java.lang.String[] |
getAttributeNames()
Returns the names of all the session-level attributes currently registered. |
java.lang.String |
getSessionID()
Returns the ID of the current session. |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets the value of a session-level attribute or clears it if the supplied value is null. |
| Methods inherited from interface org.eclipse.vtp.framework.core.IProcessContext |
|---|
getProcessID, getProperty, loadClass |
| Methods inherited from interface org.eclipse.vtp.framework.core.IContext |
|---|
lookup, lookupAll |
| Methods inherited from interface org.eclipse.vtp.framework.core.ILogger |
|---|
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn |
| Methods inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
isSeverityEnabled, report, report, report, report |
| Method Detail |
|---|
java.lang.String getSessionID()
java.lang.String[] getAttributeNames()
java.lang.Object getAttribute(java.lang.String attributeName)
throws java.lang.NullPointerException
null if no such attribute exists.
attributeName - The name of the session attribute to return.
null if no such attribute exists.
java.lang.NullPointerException - If the supplied attribute name is
null.
void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
throws java.lang.NullPointerException
null.
attributeName - The name of the session attribute to set.attributeValue - The value to set the attribute to or
null to clear the attribute.
java.lang.NullPointerException - If the supplied attribute name is
null.
void clearAttribute(java.lang.String attributeName)
throws java.lang.NullPointerException
attributeName - The name of the session attribute to clear.
java.lang.NullPointerException - If the supplied attribute name is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||